package com.xiezc.controller;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

/**
 * Created by xiezc on 2017/9/8 14:54
 */
@RestController
public class HelloController {


    @Value("${info.profile}")
    private String info;

    @RequestMapping("/")
    public String home() {
        return "Hello World!  " + info;
    }

}
